package Airport;


public class CanceledFlight extends Flight {

	public CanceledFlight(int id, int seats) {
		super(id,seats);
	}
	public CanceledFlight(int id,Passenger[] passengers) {
		super(id,passengers);
	}
	
	@Override
	protected String getTypeDescription() {
		return "Canceled flight.";
	}
	
	@Override
	public void addPassenger(Passenger passenger) {
		System.out.println("Inpossible. This flight was canceled");
	}

}
